home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr13 / see320.zip / VIEW.BAT < prev    next >
DOS Batch File  |  1995-02-01  |  683b  |  29 lines

  1.     @ECHO OFF
  2.     ECHO OFF
  3.  
  4. REM Ensure that we came from START
  5.     IF (%2) == () START
  6.  
  7. REM Check that file exists
  8.     IF EXIST %1 GOTO EOCKFILE
  9.     CLS
  10.     ECHO The file %1 was not found.  Please contact Pinnacle at
  11.     ECHO 514-345-9578 to find out how you can obtain the complete package.
  12.     GETKEY Press a key to continue... @
  13.     GOTO QUIT
  14. :EOCKFILE
  15.  
  16. REM Test for standard view versus hyperdoc
  17.     IF (%3) == () GOTO STDVIEW
  18.  
  19. REM It's a hyperview.  We explicitly state the prefix in case the user has
  20. REM changed the configuration file.
  21.     SEE %1 /P /N!:: /F::%3 /Q
  22.     GOTO QUIT
  23.  
  24. :STDVIEW
  25.     SEE %1 /P /N!::
  26.  
  27. :QUIT
  28.   IF NOT (%2) == () START @ %2
  29.